<ion-menu [content]="content" [side]="'right'" [swipeEnabled]="false">
  <ion-header>
    <div class="center-header pl">
      <div class="user"><span class="font16">金兰宝欢迎您</span></div>
    </div>
  </ion-header>
  <ion-content style="background-color: #ffffff">
    <div class="side-menu mt-20">
      <ion-list class="nav-list ml-20">
        <button menuClose ion-item *ngFor="let p of pages" (click)="openPage(p)">
          {{p.title}}
        </button>
      </ion-list>
    </div>
  </ion-content>

</ion-menu>

<!-- Disable swipe-to-go-back because it's poor UX to combine STGB with side menus -->
<ion-nav [root]="rootPage" #content [swipeBackEnabled]="false"></ion-nav>
